home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Games
/
PC-SIG World of Games (CDRM1080710) (1993).iso
/
1827
/
GOLF.DOC
< prev
next >
Wrap
Text File
|
1991-05-29
|
17KB
|
297 lines
Golf Handicapper Version 2
Golf Handicapper is a combination golf score data base
and handicap calculator. It holds the most recent scores of
golf players. When a player enters a new score, the program
automatically calculates their current handicap, their net
score for this game, and their handicap for the next game. The
program can be used by an individual player, a team of
players, or an entire golf club.
You run the program by typing GOLF at the DOS prompt.
When the program runs, it will display a list of data files on
the disk and ask you which file to load. The default file name
is GOLF. You would normally just press ENTER to choice this
name. However, you can create separate files by using
different names if you like.
If the program does not find a file with that name on the
disk, it assumes that this is a new file. It then creates a
file with this name. Actually, it creates two files. One has
the extension NAM and contains the player's names. The other
has the extension SCR and holds the player's scores.
When you create a new file, the program will ask you some
preliminary questions. First, it will ask you for the maximum
number of players you will put in the data file. For example,
if you plan to put between 100 and 150 players in the file,
input 150 as the maximum number. You cannot change this later,
so be sure you allow for enough players. On the other hand,
the computer must reserve memory for all these players, so do
not input a number higher than you might really need.
Next, the computer will ask for the number of games to
save for each player. Just input the number of games you want
the computer to keep in memory. For example, if you choose 20,
the computer will hold up to 20 scores for each player. If you
input a 21st game score, the computer will throw away the
records of game 1 before adding game 21 to the file. Again, do
not choose a number larger than you really need, because the
data takes up room in memory.
Next, the computer will ask for a heading to put at the
tops of pages that it prints out. This could be something like
"Golf scores for 1991." Then it will ask you for the
percentage of a handicap to use when computing net golf scores.
The program then shows you the file modification menu.
This menu has 7 options:
The first option in the file modification menu is to
change the course rating. You would use this only if you
recalculate the rating for your golf course.
The second option in this menu is to add a player. If you
select this, the program will tell you what the highest player
number already in use is. It will then ask what number to
assign to the player you are adding. The default is the lowest
number not already in use. This is usually one more than the
highest number already in use. However, it can be lower if you
have deleted a player from the data base, leaving a "hole" in
the player list. In such a case, you would have a choice of
filling the hole in the list by choosing the default number or
inputting a higher number.
After you have input the player's number, the computer
will ask you to input the player's name. You can abort
inputting a player by just pressing ENTER. If you do input a
player's name, the computer will ask you to input the player's
most recent scores. Input the scores one at a time starting
with the oldest scores. As you input each score, the computer
will also ask you for the date of the game. After you input
the date, the computer will ask for the score of the next
game. This will continue until you reach the maximum number of
games (as explained above). If the player has played less than
the maximum number of games, just press ENTER alone when you
run out of scores. The computer will then go back to the file
modification menu.
The next choice in the menu is to delete a player from
the data base. If you choose this option, the computer will
ask you to input either the player's name or number. You can
abort deleting a player by just pressing ENTER when the
computer asks for this information.
The fourth choice in the file modification menu is to
correct scores. This allows you to correct the scores of
individual players if you discover that you have made a
mistake while inputting a player's scores. You might have made
such a mistake while adding the player in the first place, or
while inputting a new score from the player's menu (explained
below).
When you select this option, the computer will first ask
you to input either the name or the number of the player whose
scores you wish to correct. After you input this information,
the computer will show you all the game information on record
for that player. You will have a choice of changing the score
or date for any game. Press either the S or D key to select
which to change. You also may press the R key to return to the
file modification menu.
After you choose what to change, the computer will ask
you for the number of the item to change. Input the number on
the row of the item to change. For example, to change score
number 2, input 2. The computer will then ask for the new
value of the item you are changing.
When you have input the new value for the item, the
computer will show the new record for the player's scores. It
will then ask you again what you wish to change. This allows
you to correct any number of items for each player. When you
are finished changing the data for one player, press R to go
back to the file modification menu.
The next item on the file modification menu is to change
the page heading. This is primarily in case you made a mistake
when you typed in the heading you want at the tops of printed
pages.
The next item on the file modification menu is to change
the percentage of the handicap you want to use when the
computer calculates the net score. You would use this if you
made a mistake when you typed in this figure, or you change
your mind about what percentage you want. Note that if you
change this, it retroactively changes all net scores for all
players.
The last choice on the file modification menu is to go
back to the main menu.
After you exit the file modification menu, the program
will show you the main menu. This menu has six choices. The
first choice is to load a new file. You only use this option
if you have several score files and you need to switch between
them.
The second main menu option is to go back to the file
modification menu. If you load an existing file when you run
the program instead of creating a new file, the computer goes
directly to the main menu, rather than the file modification
menu. This option on the main menu lets you get back to the
file modification menu if you need to.
The third choice in the main menu is the player's menu.
This is the menu that will normally be displayed when the
players have access to the computer to input their scores. At
the top of the screen, you will see the lowest gross and net
scores of the season. If any scores have been entered today,
the lowest gross and net scores of the day will be displayed
also.
The player's menu has three options: to see scores, to
add a score, or to quit (go back to the main menu). The player
would press S to see scores, A to add scores to the file, or Q
to go back to the main menu.
If the player presses S, the computer will ask for the
player's name or number. When the player inputs this
information, the computer will display all information in the
file on that player's scores.
If the player presses A, the computer will ask for the
player's name or number. It will then ask for the player's
score. After you input the score, the computer will display
the player's handicap and net score. Handicaps are computed
using the USGA handicap formula. If the player has played less
than five games, no handicap can be calculated using this
formula. The net score is the gross score minus the
handicap times the fraction (percentage) of the handicap to
take (as established when the file was created). Both the
handicap and net score are rounded off to the nearest whole
number.
The computer will then ask for the date of the game. This
information is stored with the scores. The computer will then
display the player's handicap for the next game. While the
player is looking at this, it will add the player's new score
to the data file on disk. If the player already has the
maximum number of scores, it will delete the oldest score.
The computer will then ask you to press the space bar to
continue. After you press the space bar, the computer will
return to the player's menu. If the space bar is not pressed
within 60 seconds, the computer will return to that menu
anyway.
The player's menu has a screen saver function. If no
choice is made for 60 seconds, the screen blanks and a message
is displayed telling the players to press any key to get their
menu back. This message moves around the screen every ten
seconds to prevent it from being burned in.
The fourth option in the main menu is to display data on
a player. If you choose this option, the computer will ask you
to input a player's name or number. You also may input the
word "ALL" (without the quotes), to see the data on all
players. If you ask for all scores, the computer will ask if
you want the players sorted alphabetically. This sorting can
take a while, so you should only ask for it if you really want
it. The sorting does not affect the order of the names in the
disk file or even the list in memory. It only affects the
order in which the names are printed out this time.
The computer will then ask if you want the short form. In
the short form, only the scores are printed out. You will see
each gross score, followed by a colon, followed by the net
score after the handicap is deducted. The lowest net score
will have an asterisk after it. In the long form, dates, gross
scores, handicaps, and net scores are all output. The lowest
net score is marked with an asterisk.
The computer will then ask you if you want hard copy. If
you press the <Y> key, the computer will ask you to prepare
the printer, then press the space bar when the printer is
ready.
If you have asked for all players and have not asked for
hard copy, the screen will pause for each player until you
press the space bar. You may stop the listing by pressing the
Esc key instead of the space bar. If you are getting hard
copy, the screen will not pause after each player. You can
stop a hard copy listing by pressing the Esc key.
After it shows you the data on a player (or all players),
the computer will ask for the name or number of another player
to display data on. If you do not want the scores of another
player displayed, just press the ENTER key.
The fifth choice in the main menu is to see and possibly
reset the lowest scores on record. When you choose this
option, the computer displays the names and scores of the
players with the lowest gross score (before handicap) and the
player with the lowest net score, both for the season and the
day. The computer updates these scores each time a player
enters a score during a handicap calculation.
When the computer displays these low scores, it asks if
you would like to reset the low score record. If you press
<Y>, the computer clears the low score record so that it can
begin keeping track of the lowest score during the next time
period. Note: any time you use the "File Modification Menu"
option, the low score record is automatically adjusted based
on all the scores in the record. If you want the low scores to
stay cleared after using the "File Modification Option," you
must clear them again.
The last option in the main menu is to end the program.
This will return you to DOS. You should always exit the
program by returning to the main menu and choosing this
option. This insures that the files are properly updated
before the program ends. It also writes the low score for the
day into a file with the same name as your other data (such as
GOLF) and the extension LSD (low score data). This file can be
loaded into most word processors or file editors. You also can
get a printed copy of it by typing COPY filename.LSD PRN at
the DOS prompt.
Making menu selections
You can select an option from a menu by pressing the
number at the top of your keyboard that corresponds to the one
beside your choice. You should not press the ENTER key after
pressing this number.
You also can select an option using the cursor keys and
the ENTER key. Pressing either the up or down cursor key will
cause the selection bar to appear on the menu. You can then
move the selection bar on the menu with the up and down cursor
keys. When the selection bar is on the option you want to
choose, press the ENTER key to make that selection.
Registering Golf Handicapper
This program is distributed as shareware. This means that
you may use it for a trial period to see if you want to keep
using it. (One or two months is a reasonable trial period.) If
you decide that you intend to keep using this program, please
pay for it by sending a check for $25.00 to:
David Leithauser
Leithauser Research
4649 Van Kleeck Drive
New Smyrna Beach, FL 32169
Regardless of whether you decide to register this
program, you are free to give away copies to anyone you like.
There are two minor restrictions. First, you must distribute
the program and the documentation (the instructions) together.
Second, you must not change either the program or the
documentation in any way.
Customizations
The primary function of Leithauser Research is providing
custom programs of all types. If you would like to have Golf
Handicapper customized to fit some special need (such as if
your club uses a different handicapping formula), please
contact Leithauser Research for a price quote. Most
modifications can be done at very low cost. Also, if there is
any other type of custom program you would like written,
please contact Leithauser Research for a price quote.